
import java.util.ArrayList;

public class EventPoint implements Comparable<EventPoint> {

    public Point point;
    public ArrayList<Line> u_list, l_list, c_list;

    public EventPoint(Point point) {
        this.point = point;
        this.u_list = new ArrayList<Line>();
        this.l_list = new ArrayList<Line>();
        this.c_list = new ArrayList<Line>();
    }

    public int compareTo(EventPoint other) {
        return this.point.compareTo(other.point);
    }

    public String toString() {
        return "EventPoint" + point;
    }
}
